tests: Add deprecation guards
authorBenjamin Otte <otte@redhat.com>
Thu, 10 Apr 2014 00:29:54 +0000 (02:29 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 10 Apr 2014 00:29:54 +0000 (02:29 +0200)
tests/testdialog.c

index 672626332175f70c4c94107f14716ca50f2cf8e2..59d76381b3e98a1aff0bcc1d23f95e062e264948 100644 (file)
@@ -35,7 +35,9 @@ show_message_dialog1a (GtkWindow *parent)
 
   image = gtk_image_new_from_icon_name ("computer-fail", GTK_ICON_SIZE_DIALOG);
   gtk_widget_show (image);
+  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
   gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
+  G_GNUC_END_IGNORE_DEPRECATIONS;
 
 
   gtk_dialog_run (GTK_DIALOG (dialog));